<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MQ</title>
<link href="../css/mq.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../scripts/My97DatePicker/WdatePicker.js" ></script>
</head>

<body>
	<div id="write" >
	<form action="addOrders.do" method="post" name="/agent">
	    <h4>用户信息</h4>
<table id="mailInfo" style="border-top:#dddddd solid 1px; border-bottom:#dddddd solid 1px" frame=below rules=rows  bordercolor="#FFFFFF" width="100%" border="1" cellspacing="0" cellpadding="4" >
  <tr>
    <td width="100px" class="tdstyle" >用户名：</td>
    <td><input name="user.userName" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >密码：</td>
    <td><input name="user.password" type="password" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >重复密码：</td>
    <td><input name="password1" type="password" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >新郎名：</td>
    <td><input name="user.husband" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >新娘名：</td>
    <td><input name="user.wife" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >联系电话：</td>
    <td><input name="user.mobile" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >联系email：</td>
    <td><input name="user.email" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >备注：</td>
    <td><input name="user.notes" type="text" class="inputstyle-240px" /></td>
  </tr>
   <tr>
    <td class="tdstyle" >所在省：</td>
    <td><input name="user.province" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >所在市：</td>
    <td><input name="user.city" type="text" class="inputstyle-240px" /></td>
  </tr>

  

</table>

    <h4>订单信息</h4>
<table id="mailInfo" style="border-top:#dddddd solid 1px; border-bottom:#dddddd solid 1px" frame=below rules=rows  bordercolor="#FFFFFF" width="100%" border="1" cellspacing="0" cellpadding="4" >
 <tr>
    <td  width="100px" class="tdstyle" >套餐：</td>
    <td>
    	<select name="orders.chargeId"  >
    	<s:iterator value="chargeList">
    		<option value=${id }>${chargeName }</option>
    	</s:iterator>
    	</select>
    </td>
  </tr>
  <tr>
    <td class="tdstyle" >订单类型：</td>
    <td>
    <s:select list="#{'个人购买':'个人购买','渠道购买':'渠道购买','总代购买':'总代购买' }" name="orders.orderType"></s:select>
    </td>
  </tr>
  <tr>
    <td class="tdstyle" >支付状态：</td>
    <td><input type="radio" name="orders.payState" value="1" checked="checked" />已付&nbsp;&nbsp;<input type="radio" name="orders.payState" value="0" />未付 </td>
  </tr>
  <tr>
    <td class="tdstyle" >生效时间：</td>
    <td><input name="effectTime" type="text" class="inputstyle-240px" onclick="WdatePicker()" readonly="readonly" /></td>
  </tr>
    <tr>
  <td class="tdstyle" >定位码：</td>
    <td><input name="orders.code" type="text" class="inputstyle-240px" /></td>
  </tr>
  <tr>
    <td class="tdstyle" >备注：</td>
    <td><input name="orders.notes" type="text" class="inputstyle-240px" /></td>
  </tr>
  
  <tr>
    <td class="tdstyle" >是否使用：</td>
    <td><input type="radio" name="orders.isUsed" value="1" checked="checked" />是&nbsp;&nbsp;<input type="radio" name="orders.isUsed" value="0" />否 </td>
  </tr>
</table>	
	<div class="text_margin1">
		<input  type="submit" value=" 发 送 "  class="buttonstyle-2word"/>
		<input  type="reset" value=" 重 置 " class="buttonstyle-2word" /></div>
</form>
</div>

	<!------------------------------------------------------------------ -->
<!--------------------------------------- -->
</body>
</html>
